<? $products = select_lines_all_items($table_Prefix."product",'name asc',"publish = 1","") ; ?>




<table class="layui-table">
  <colgroup>

	<col width="50" >
	<col width="120" >
	<col width="200" >

  </colgroup>
  <thead>
    <tr>
      <th>项目名称</th>
      <th>数量</th>
      <th>备注</th>
    </tr>
  </thead>
  <tbody>






<?foreach ($products as $k=>$product){?>
      <tr>

      <td><?echo $product['name']?></td>
          <input type="hidden" name="product_name[<?echo $product['nid']?>]" value="<?echo $product['name']?>" >
<td>
 <input type="text" name="number[<?echo $product['nid']?>]" value="" >
</td>



	  <td><?echo $product['remark']?></td>

      </td>

    </tr>
<?}?>


  </tbody>
</table>


